package sa.com.sure.ejtimaa.model;

public class AttachmentInfo {

	private String AttachmentID;
	private String FileName;
	private int FileSize;
	private String FileType;
	private byte[] FileContent;
	
	public AttachmentInfo(String AttachmentID,String FileName,int FileSize,String FileType,byte[] FileContent){
		
		this.AttachmentID = AttachmentID;
		this.FileName = FileName;
		this.FileSize = FileSize;
		this.FileType = FileType;
		this.FileContent = FileContent;

	}
	
	public AttachmentInfo(){
		
		this.AttachmentID = "";
		this.FileName = "";
		this.FileSize = 0;
		this.FileType = "";
		this.FileContent = null;
	}
	
	public String GetAttachmentID() {
		return AttachmentID	;
	}
	
	public void SetAttachmentID(String AttachmentID) {
		this.AttachmentID = AttachmentID;
	}
	
	
	public void SetFileName(String FileName) {
		this.FileName = FileName;
	}
	
	public String GetFileName() {
		return FileName;
	}

	public void SetFileSize(int FileSize) {
		this.FileSize = FileSize;
	}

	public int GetFileSize() {
		return this.FileSize;
	}

	public void SetFileType(String FileType) {
		this.FileType = FileType;
	}

	public String GetFileType() {
		return FileType;
	}

	public void SetFileContent(byte[] FileContent) {
		this.FileContent = FileContent;
	}

	public byte[] GetFileContent() {
		return FileContent;
	}

	
	@Override
	public String toString() {
		return this.FileName;
	} 
}
